package cn.itcast.dao;

import cn.itcast.domain.Employee;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMapper {
    //根据ID查询用户信息
    Employee getEmpById(Integer id);

    //添加用户信息
    public void insertEmpoyee(Employee user);
    //删除用户信息
    //public void deleteEmpoyee(int id);

    List<Employee> queryEmployeeAll();

    int updateEmployeeById(Employee employee);
}